package com.gzbd.login.shiro.validator;

import javax.servlet.http.HttpServletRequest;

/**
 * session 校验器接口
 *
 * @author :ys
 * @date :2023-07-31 9:58
 */
public interface SessionValidator {

    /**
     * session 校验
     *
     * @param request HttpServletRequest 获取请求数据
     * @return 校验结果 true:通过 false:不通过
     */
    boolean checkSession(HttpServletRequest request);
}
